<template>
  <div class="container">
    <div class="main">
      <div class="right-box flex-center">
        <Login
          @fastRegister="status = 2"
          @findPassword="status = 4"
        ></Login>
      </div>
      <Foot></Foot>
  
    </div>
  </div>
</template>

<script setup name="Login">
// 组件
import Login from "./components/login.vue";
import { useStoreApp } from "@/store";

// const status = ref(1); // 1：登录，2：注册，3：注册成功，4：找回密码，5：密码重置成功
const storeApp = useStoreApp();
</script>

<style scoped lang="less">
html,
body {
  width: 100%;
  height: 100%;
}

.container {
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.main {
  width: 100%;
  height: 100%;
  display: flex;
  background-image: url('../../assets/images/bg.png') ;
  // background-size: 100% 100%;
  background-size: cover;
  .left-box {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    .logo-box {
      max-width: 80%;
    }
    .logo-img {
      margin: 91px 0px 22px 0px;
      :deep(.ant-image) {
        .ant-image-img {
          width: 82px;
          height: 82px;
          border-radius: 100%;
        }
      }
    }
    .title {
      font-size: 20px;
      font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
      font-weight: bold;
      color: #359670;
      line-height: 26px;
    }
  }
  .right-box {
    flex: 1;
  }
}
:deep(.footer-layer){
  position: absolute;
    bottom: 50px;
    width: 100%;
}
:deep(.foot){
  color: #fff !important;
}

:deep(.ant-tabs-tab) {
  div {
    font-size: 18px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #616365;
    line-height: 25px;
    &:hover {
      color: #359670;
    }
  }
  &-active {
    div {
      font-weight: 500;
      color: #1a1c1d !important;
    }
  }
}

.domain {
  a:hover {
    color: #2fbc84;
  }
}

:deep(.ant-tabs-top > .ant-tabs-nav::before) {
  border-bottom: none;
}

:deep(.ant-tabs-ink-bar) {
  height: 3px !important;
  border-radius: 2px !important;
  bottom: 5px !important;
}
</style>
